package com.ruoyi.advertisement.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 首页轮播图广告管理对象 bole_banner_ad
 * 
 * @author Wujiale
 * @date 2025-04-07
 */
public class BoleBannerAd extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 轮播图广告ID */
    @Excel(name = "轮播图广告ID")
    private String bannerAdId;

    /** 广告标题 */
    @Excel(name = "广告标题")
    private String adTitle;

    /** 广告类型：inner=内部链接，outer=外部链接 */
    @Excel(name = "广告类型：inner=内部链接，outer=外部链接")
    private String adType;

    /** 跳转链接（内部以/开头，外部以http/https开头） */
    @Excel(name = "跳转链接", readConverterExp = "内=部以/开头，外部以http/https开头")
    private String adLink;

    /** 图片链接（服务器/OSS路径） */
    @Excel(name = "图片链接", readConverterExp = "服=务器/OSS路径")
    private String imageUrl;

    /** 展示顺序（数字越小越靠前） */
    @Excel(name = "展示顺序", readConverterExp = "数=字越小越靠前")
    private Long displayOrder;

    /** 状态（0=禁用，1=启用，2=删除） */
    @Excel(name = "状态", readConverterExp = "0==禁用，1=启用，2=删除")
    private String status;

    public void setBannerAdId(String bannerAdId) 
    {
        this.bannerAdId = bannerAdId;
    }

    public String getBannerAdId() 
    {
        return bannerAdId;
    }
    public void setAdTitle(String adTitle) 
    {
        this.adTitle = adTitle;
    }

    public String getAdTitle() 
    {
        return adTitle;
    }
    public void setAdType(String adType) 
    {
        this.adType = adType;
    }

    public String getAdType() 
    {
        return adType;
    }
    public void setAdLink(String adLink) 
    {
        this.adLink = adLink;
    }

    public String getAdLink() 
    {
        return adLink;
    }
    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }
    public void setDisplayOrder(Long displayOrder) 
    {
        this.displayOrder = displayOrder;
    }

    public Long getDisplayOrder() 
    {
        return displayOrder;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bannerAdId", getBannerAdId())
            .append("adTitle", getAdTitle())
            .append("adType", getAdType())
            .append("adLink", getAdLink())
            .append("imageUrl", getImageUrl())
            .append("displayOrder", getDisplayOrder())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
